angular valuechanges get id

168

angular valuechanges get id -

ngOnInit() {
  this.myEventList = this.firestore
    .collection('eventList')
    .valueChanges({ idField: 'eventId' });
}

Comments

Submit
0 Comments